package com.zk.nacosprovider.Entity;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class folderExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public folderExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andFolderidIsNull() {
            addCriterion("folderId is null");
            return (Criteria) this;
        }

        public Criteria andFolderidIsNotNull() {
            addCriterion("folderId is not null");
            return (Criteria) this;
        }

        public Criteria andFolderidEqualTo(String value) {
            addCriterion("folderId =", value, "folderid");
            return (Criteria) this;
        }

        public Criteria andFolderidNotEqualTo(String value) {
            addCriterion("folderId <>", value, "folderid");
            return (Criteria) this;
        }

        public Criteria andFolderidGreaterThan(String value) {
            addCriterion("folderId >", value, "folderid");
            return (Criteria) this;
        }

        public Criteria andFolderidGreaterThanOrEqualTo(String value) {
            addCriterion("folderId >=", value, "folderid");
            return (Criteria) this;
        }

        public Criteria andFolderidLessThan(String value) {
            addCriterion("folderId <", value, "folderid");
            return (Criteria) this;
        }

        public Criteria andFolderidLessThanOrEqualTo(String value) {
            addCriterion("folderId <=", value, "folderid");
            return (Criteria) this;
        }

        public Criteria andFolderidLike(String value) {
            addCriterion("folderId like", value, "folderid");
            return (Criteria) this;
        }

        public Criteria andFolderidNotLike(String value) {
            addCriterion("folderId not like", value, "folderid");
            return (Criteria) this;
        }

        public Criteria andFolderidIn(List<String> values) {
            addCriterion("folderId in", values, "folderid");
            return (Criteria) this;
        }

        public Criteria andFolderidNotIn(List<String> values) {
            addCriterion("folderId not in", values, "folderid");
            return (Criteria) this;
        }

        public Criteria andFolderidBetween(String value1, String value2) {
            addCriterion("folderId between", value1, value2, "folderid");
            return (Criteria) this;
        }

        public Criteria andFolderidNotBetween(String value1, String value2) {
            addCriterion("folderId not between", value1, value2, "folderid");
            return (Criteria) this;
        }

        public Criteria andOwneridIsNull() {
            addCriterion("ownerId is null");
            return (Criteria) this;
        }

        public Criteria andOwneridIsNotNull() {
            addCriterion("ownerId is not null");
            return (Criteria) this;
        }

        public Criteria andOwneridEqualTo(String value) {
            addCriterion("ownerId =", value, "ownerid");
            return (Criteria) this;
        }

        public Criteria andOwneridNotEqualTo(String value) {
            addCriterion("ownerId <>", value, "ownerid");
            return (Criteria) this;
        }

        public Criteria andOwneridGreaterThan(String value) {
            addCriterion("ownerId >", value, "ownerid");
            return (Criteria) this;
        }

        public Criteria andOwneridGreaterThanOrEqualTo(String value) {
            addCriterion("ownerId >=", value, "ownerid");
            return (Criteria) this;
        }

        public Criteria andOwneridLessThan(String value) {
            addCriterion("ownerId <", value, "ownerid");
            return (Criteria) this;
        }

        public Criteria andOwneridLessThanOrEqualTo(String value) {
            addCriterion("ownerId <=", value, "ownerid");
            return (Criteria) this;
        }

        public Criteria andOwneridLike(String value) {
            addCriterion("ownerId like", value, "ownerid");
            return (Criteria) this;
        }

        public Criteria andOwneridNotLike(String value) {
            addCriterion("ownerId not like", value, "ownerid");
            return (Criteria) this;
        }

        public Criteria andOwneridIn(List<String> values) {
            addCriterion("ownerId in", values, "ownerid");
            return (Criteria) this;
        }

        public Criteria andOwneridNotIn(List<String> values) {
            addCriterion("ownerId not in", values, "ownerid");
            return (Criteria) this;
        }

        public Criteria andOwneridBetween(String value1, String value2) {
            addCriterion("ownerId between", value1, value2, "ownerid");
            return (Criteria) this;
        }

        public Criteria andOwneridNotBetween(String value1, String value2) {
            addCriterion("ownerId not between", value1, value2, "ownerid");
            return (Criteria) this;
        }

        public Criteria andFolderpasswordIsNull() {
            addCriterion("folderPassword is null");
            return (Criteria) this;
        }

        public Criteria andFolderpasswordIsNotNull() {
            addCriterion("folderPassword is not null");
            return (Criteria) this;
        }

        public Criteria andFolderpasswordEqualTo(String value) {
            addCriterion("folderPassword =", value, "folderpassword");
            return (Criteria) this;
        }

        public Criteria andFolderpasswordNotEqualTo(String value) {
            addCriterion("folderPassword <>", value, "folderpassword");
            return (Criteria) this;
        }

        public Criteria andFolderpasswordGreaterThan(String value) {
            addCriterion("folderPassword >", value, "folderpassword");
            return (Criteria) this;
        }

        public Criteria andFolderpasswordGreaterThanOrEqualTo(String value) {
            addCriterion("folderPassword >=", value, "folderpassword");
            return (Criteria) this;
        }

        public Criteria andFolderpasswordLessThan(String value) {
            addCriterion("folderPassword <", value, "folderpassword");
            return (Criteria) this;
        }

        public Criteria andFolderpasswordLessThanOrEqualTo(String value) {
            addCriterion("folderPassword <=", value, "folderpassword");
            return (Criteria) this;
        }

        public Criteria andFolderpasswordLike(String value) {
            addCriterion("folderPassword like", value, "folderpassword");
            return (Criteria) this;
        }

        public Criteria andFolderpasswordNotLike(String value) {
            addCriterion("folderPassword not like", value, "folderpassword");
            return (Criteria) this;
        }

        public Criteria andFolderpasswordIn(List<String> values) {
            addCriterion("folderPassword in", values, "folderpassword");
            return (Criteria) this;
        }

        public Criteria andFolderpasswordNotIn(List<String> values) {
            addCriterion("folderPassword not in", values, "folderpassword");
            return (Criteria) this;
        }

        public Criteria andFolderpasswordBetween(String value1, String value2) {
            addCriterion("folderPassword between", value1, value2, "folderpassword");
            return (Criteria) this;
        }

        public Criteria andFolderpasswordNotBetween(String value1, String value2) {
            addCriterion("folderPassword not between", value1, value2, "folderpassword");
            return (Criteria) this;
        }

        public Criteria andFoldernameIsNull() {
            addCriterion("folderName is null");
            return (Criteria) this;
        }

        public Criteria andFoldernameIsNotNull() {
            addCriterion("folderName is not null");
            return (Criteria) this;
        }

        public Criteria andFoldernameEqualTo(String value) {
            addCriterion("folderName =", value, "foldername");
            return (Criteria) this;
        }

        public Criteria andFoldernameNotEqualTo(String value) {
            addCriterion("folderName <>", value, "foldername");
            return (Criteria) this;
        }

        public Criteria andFoldernameGreaterThan(String value) {
            addCriterion("folderName >", value, "foldername");
            return (Criteria) this;
        }

        public Criteria andFoldernameGreaterThanOrEqualTo(String value) {
            addCriterion("folderName >=", value, "foldername");
            return (Criteria) this;
        }

        public Criteria andFoldernameLessThan(String value) {
            addCriterion("folderName <", value, "foldername");
            return (Criteria) this;
        }

        public Criteria andFoldernameLessThanOrEqualTo(String value) {
            addCriterion("folderName <=", value, "foldername");
            return (Criteria) this;
        }

        public Criteria andFoldernameLike(String value) {
            addCriterion("folderName like", value, "foldername");
            return (Criteria) this;
        }

        public Criteria andFoldernameNotLike(String value) {
            addCriterion("folderName not like", value, "foldername");
            return (Criteria) this;
        }

        public Criteria andFoldernameIn(List<String> values) {
            addCriterion("folderName in", values, "foldername");
            return (Criteria) this;
        }

        public Criteria andFoldernameNotIn(List<String> values) {
            addCriterion("folderName not in", values, "foldername");
            return (Criteria) this;
        }

        public Criteria andFoldernameBetween(String value1, String value2) {
            addCriterion("folderName between", value1, value2, "foldername");
            return (Criteria) this;
        }

        public Criteria andFoldernameNotBetween(String value1, String value2) {
            addCriterion("folderName not between", value1, value2, "foldername");
            return (Criteria) this;
        }

        public Criteria andCreatetimeIsNull() {
            addCriterion("createTime is null");
            return (Criteria) this;
        }

        public Criteria andCreatetimeIsNotNull() {
            addCriterion("createTime is not null");
            return (Criteria) this;
        }

        public Criteria andCreatetimeEqualTo(Date value) {
            addCriterion("createTime =", value, "createtime");
            return (Criteria) this;
        }

        public Criteria andCreatetimeNotEqualTo(Date value) {
            addCriterion("createTime <>", value, "createtime");
            return (Criteria) this;
        }

        public Criteria andCreatetimeGreaterThan(Date value) {
            addCriterion("createTime >", value, "createtime");
            return (Criteria) this;
        }

        public Criteria andCreatetimeGreaterThanOrEqualTo(Date value) {
            addCriterion("createTime >=", value, "createtime");
            return (Criteria) this;
        }

        public Criteria andCreatetimeLessThan(Date value) {
            addCriterion("createTime <", value, "createtime");
            return (Criteria) this;
        }

        public Criteria andCreatetimeLessThanOrEqualTo(Date value) {
            addCriterion("createTime <=", value, "createtime");
            return (Criteria) this;
        }

        public Criteria andCreatetimeIn(List<Date> values) {
            addCriterion("createTime in", values, "createtime");
            return (Criteria) this;
        }

        public Criteria andCreatetimeNotIn(List<Date> values) {
            addCriterion("createTime not in", values, "createtime");
            return (Criteria) this;
        }

        public Criteria andCreatetimeBetween(Date value1, Date value2) {
            addCriterion("createTime between", value1, value2, "createtime");
            return (Criteria) this;
        }

        public Criteria andCreatetimeNotBetween(Date value1, Date value2) {
            addCriterion("createTime not between", value1, value2, "createtime");
            return (Criteria) this;
        }

        public Criteria andCommentIsNull() {
            addCriterion("comment is null");
            return (Criteria) this;
        }

        public Criteria andCommentIsNotNull() {
            addCriterion("comment is not null");
            return (Criteria) this;
        }

        public Criteria andCommentEqualTo(String value) {
            addCriterion("comment =", value, "comment");
            return (Criteria) this;
        }

        public Criteria andCommentNotEqualTo(String value) {
            addCriterion("comment <>", value, "comment");
            return (Criteria) this;
        }

        public Criteria andCommentGreaterThan(String value) {
            addCriterion("comment >", value, "comment");
            return (Criteria) this;
        }

        public Criteria andCommentGreaterThanOrEqualTo(String value) {
            addCriterion("comment >=", value, "comment");
            return (Criteria) this;
        }

        public Criteria andCommentLessThan(String value) {
            addCriterion("comment <", value, "comment");
            return (Criteria) this;
        }

        public Criteria andCommentLessThanOrEqualTo(String value) {
            addCriterion("comment <=", value, "comment");
            return (Criteria) this;
        }

        public Criteria andCommentLike(String value) {
            addCriterion("comment like", value, "comment");
            return (Criteria) this;
        }

        public Criteria andCommentNotLike(String value) {
            addCriterion("comment not like", value, "comment");
            return (Criteria) this;
        }

        public Criteria andCommentIn(List<String> values) {
            addCriterion("comment in", values, "comment");
            return (Criteria) this;
        }

        public Criteria andCommentNotIn(List<String> values) {
            addCriterion("comment not in", values, "comment");
            return (Criteria) this;
        }

        public Criteria andCommentBetween(String value1, String value2) {
            addCriterion("comment between", value1, value2, "comment");
            return (Criteria) this;
        }

        public Criteria andCommentNotBetween(String value1, String value2) {
            addCriterion("comment not between", value1, value2, "comment");
            return (Criteria) this;
        }

        public Criteria andFalsedeletionIsNull() {
            addCriterion("falseDeletion is null");
            return (Criteria) this;
        }

        public Criteria andFalsedeletionIsNotNull() {
            addCriterion("falseDeletion is not null");
            return (Criteria) this;
        }

        public Criteria andFalsedeletionEqualTo(Integer value) {
            addCriterion("falseDeletion =", value, "falsedeletion");
            return (Criteria) this;
        }

        public Criteria andFalsedeletionNotEqualTo(Integer value) {
            addCriterion("falseDeletion <>", value, "falsedeletion");
            return (Criteria) this;
        }

        public Criteria andFalsedeletionGreaterThan(Integer value) {
            addCriterion("falseDeletion >", value, "falsedeletion");
            return (Criteria) this;
        }

        public Criteria andFalsedeletionGreaterThanOrEqualTo(Integer value) {
            addCriterion("falseDeletion >=", value, "falsedeletion");
            return (Criteria) this;
        }

        public Criteria andFalsedeletionLessThan(Integer value) {
            addCriterion("falseDeletion <", value, "falsedeletion");
            return (Criteria) this;
        }

        public Criteria andFalsedeletionLessThanOrEqualTo(Integer value) {
            addCriterion("falseDeletion <=", value, "falsedeletion");
            return (Criteria) this;
        }

        public Criteria andFalsedeletionIn(List<Integer> values) {
            addCriterion("falseDeletion in", values, "falsedeletion");
            return (Criteria) this;
        }

        public Criteria andFalsedeletionNotIn(List<Integer> values) {
            addCriterion("falseDeletion not in", values, "falsedeletion");
            return (Criteria) this;
        }

        public Criteria andFalsedeletionBetween(Integer value1, Integer value2) {
            addCriterion("falseDeletion between", value1, value2, "falsedeletion");
            return (Criteria) this;
        }

        public Criteria andFalsedeletionNotBetween(Integer value1, Integer value2) {
            addCriterion("falseDeletion not between", value1, value2, "falsedeletion");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}